<html>
 <head>
    <meta charset="utf-8" />
 </head>
<!--script src="/ngs/js/lib/require.min.js"></script-->
<!--script src="/ngs/js/lib/jquery-3.4.1.min.js"></script-->
 <!--script src="/ngs/js/lib/md5.min.js"></script-->
 <!--script src="../softphone.constants.min.js"></script-->
 <!--script src="trcloudconfig.js"></script-->
 <!--script src="softphone.elitetrcloud.min.js"></script-->
 <!--script src="https://agent-gateway-5.cticloud.cn/js/agent/v10/cti-link.js"></script-->
<script type="text/javascript">
	if (typeof($E) == 'undefined') {
		var $E = parent.$E;
	}
	if (typeof($SC) == 'undefined') {
		$SC = parent.$SC;
	}
	if (!$E) {
		$E = {softphoneBasePath: 'js/softphone/wscti', jsv: '.min'};
	}

    $SC.loadJSs("trcloud"
        , [$SC.getngsbaseurl() + "js/lib/jquery-3.4.1.min.js"
         , $SC.getngsbaseurl() + "js/lib/md5.min.js"
         , "../softphone.constants.min.js"
         , "trcloudconfig.js"
         , "softphone.elitetrcloud.min.js"], window.document, function(){

//    $SC.loadJS(window.parent.document.URL + "js/lib/jquery-3.4.1.min.js", window.document, function() {
//     $SC.loadJS(window.parent.document.URL + "js/lib/md5.min.js", window.document, function() {
      console.log('getScript--' + TRCloudConfig.cti_link_url);
      $.getScript(TRCloudConfig.cti_link_url, function () {
       console.log('tr.cti_link_url loaded');
       window.parent.iframeonload(cticlient);
      })
    });
</script>
</html>
